package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.SocialSecurityAreaTenetDao;
import io.renren.entity.SocialSecurityAreaTenetEntity;
import io.renren.service.SocialSecurityAreaTenetService;



@Service("socialSecurityAreaTenetService")
public class SocialSecurityAreaTenetServiceImpl implements SocialSecurityAreaTenetService {
	@Autowired
	private SocialSecurityAreaTenetDao socialSecurityAreaTenetDao;
	
	@Override
	public SocialSecurityAreaTenetEntity queryObject(Integer id){
		return socialSecurityAreaTenetDao.queryObject(id);
	}
	
	@Override
	public List<SocialSecurityAreaTenetEntity> queryList(Map<String, Object> map){
		return socialSecurityAreaTenetDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return socialSecurityAreaTenetDao.queryTotal(map);
	}
	
	@Override
	public void save(SocialSecurityAreaTenetEntity socialSecurityAreaTenet){
		socialSecurityAreaTenetDao.save(socialSecurityAreaTenet);
	}
	
	@Override
	public void update(SocialSecurityAreaTenetEntity socialSecurityAreaTenet){
		socialSecurityAreaTenetDao.update(socialSecurityAreaTenet);
	}
	
	@Override
	public void delete(Integer id){
		socialSecurityAreaTenetDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		socialSecurityAreaTenetDao.deleteBatch(ids);
	}
	
}
